package com.example.drive.coach.mapper;


import com.example.drive.coach.pojo.dto.CoachDTO;
import com.example.drive.coach.pojo.entity.Coach;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CoachMapper {

    List<Coach> getList();

    int add(CoachDTO coachDTO);

    Coach getById(Integer id);

    int delete(Integer id);

    int update(Coach coach);

    int saveImage(Coach coach);
}
